package com.exm.collectcodenew.web.entity;

import lombok.Data;

import java.util.List;

/**
 * 对应deerflow中deer-flow-main\src\server\chat_request.py的实体
 */
@Data
public class ChatRequestDto<T> {
//    private String thread_id;//线程id
//    private List<Resource> resources;//用于研究的资源
    private List <MessageContent> messages;
//    private int max_plan_iterations;//默认1
//    private int  max_step_num;//默认3
//    private boolean debug;//默认false
//    private int  max_search_results;//默认3
//    private boolean auto_accepted_plan;//默认false
//    private String interrupt_feedback;
//    private HashMap mcp_settings;
//    private boolean enable_background_investigation;//默认true
    private ReportStyle report_style;//默认ReportStyle.ACADEMIC
//    private boolean enable_deep_thinking;//默认false

//    @Data
//    public static class Resource {
//        private String uri;
//        private String title;
//        private String description;
//    }
    @Data
    public static class MessageContent<T> {
        private String role;
        private T content;//content: Union[str, List[ContentItem]]
    }

}
